package com.lzy.mall.order.feign;

import com.lzy.mall.common.utils.ResultUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author lzy
 * @date 2021/10/6 14:01
 */
@FeignClient("mall-product")
public interface ProductFeignService {

    @GetMapping("/spuinfo/skuId/{id}")
    ResultUtils getSkuInfoBySkuId(@PathVariable("id") Long skuId);
}
